# -*- coding: utf-8 -*-
# created by Src - 一路好时光

count = 0 #计数器
age_of_src = 24
while count < 3:
    count += 1
    guess = int(input(">>:"))
    if guess > age_of_src:
        print("猜的太大了，往小里试试")
    elif guess < age_of_src:
        print("猜的太小了，往大里试试")
    else:
        # 猜对了，直接退出
        exit("恭喜你，猜对了。。。")

print("while后面的代码")

# >>:14
# 猜的太小了，往大里试试
# >>:25
# 猜的太大了，往小里试试
# >>:24
# 恭喜你，猜对了。。。